home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 151-175 / disk_166 / autograf / menu.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  6KB  |  159 lines

  1.  
  2. struct IntuiText MenuText1 = {
  3.     3,1,COMPLEMENT,    /* front and back text pens, drawmode and fill byte */
  4.     0,0,    /* XY origin relative to container TopLeft */
  5.     NULL,    /* font pointer or NULL for default */
  6.     (UBYTE *)"Quit",    /* pointer to text */
  7.     NULL    /* next IntuiText structure */
  8. };
  9.  
  10. struct MenuItem MenuItem7 = {
  11.     NULL,    /* next MenuItem structure */
  12.     0,54,    /* XY of Item hitbox relative to TopLeft of parent hitbox */
  13.     136,8,    /* hit box width and height */
  14.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,    /* Item flags */
  15.     0,    /* each bit mutually-excludes a same-level Item */
  16.     (APTR)&MenuText1,    /* Item render  (IntuiText or Image or NULL) */
  17.     NULL,    /* Select render */
  18.     'q',    /* alternate command-key */
  19.     NULL,    /* SubItem list */
  20.     MENUNULL    /* filled in by Intuition for drag selections */
  21. };
  22.  
  23. struct IntuiText MenuText2 = {
  24.     3,1,COMPLEMENT,    /* front and back text pens, drawmode and fill byte */
  25.     0,0,    /* XY origin relative to container TopLeft */
  26.     NULL,    /* font pointer or NULL for default */
  27.     (UBYTE *)"Help",    /* pointer to text */
  28.     NULL    /* next IntuiText structure */
  29. };
  30.  
  31. struct MenuItem MenuItem6 = {
  32.     &MenuItem7,    /* next MenuItem structure */
  33.     0,45,    /* XY of Item hitbox relative to TopLeft of parent hitbox */
  34.     136,8,    /* hit box width and height */
  35.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,    /* Item flags */
  36.     0,    /* each bit mutually-excludes a same-level Item */
  37.     (APTR)&MenuText2,    /* Item render  (IntuiText or Image or NULL) */
  38.     NULL,    /* Select render */
  39.     'h',    /* alternate command-key */
  40.     NULL,    /* SubItem list */
  41.     MENUNULL    /* filled in by Intuition for drag selections */
  42. };
  43.  
  44. struct IntuiText MenuText3 = {
  45.     3,1,COMPLEMENT,    /* front and back text pens, drawmode and fill byte */
  46.     0,0,    /* XY origin relative to container TopLeft */
  47.     NULL,    /* font pointer or NULL for default */
  48.     (UBYTE *)"Print Window",    /* pointer to text */
  49.     NULL    /* next IntuiText structure */
  50. };
  51.  
  52. struct MenuItem MenuItem5 = {
  53.     &MenuItem6,    /* next MenuItem structure */
  54.     0,36,    /* XY of Item hitbox relative to TopLeft of parent hitbox */
  55.     136,8,    /* hit box width and height */
  56.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,    /* Item flags */
  57.     0,    /* each bit mutually-excludes a same-level Item */
  58.     (APTR)&MenuText3,    /* Item render  (IntuiText or Image or NULL) */
  59.     NULL,    /* Select render */
  60.     'p',    /* alternate command-key */
  61.     NULL,    /* SubItem list */
  62.     MENUNULL    /* filled in by Intuition for drag selections */
  63. };
  64.  
  65. struct IntuiText MenuText4 = {
  66.     3,1,COMPLEMENT,    /* front and back text pens, drawmode and fill byte */
  67.     0,0,    /* XY origin relative to container TopLeft */
  68.     NULL,    /* font pointer or NULL for default */
  69.     (UBYTE *)"Set Options",    /* pointer to text */
  70.     NULL    /* next IntuiText structure */
  71. };
  72.  
  73. struct MenuItem MenuItem4 = {
  74.     &MenuItem5,    /* next MenuItem structure */
  75.     0,27,    /* XY of Item hitbox relative to TopLeft of parent hitbox */
  76.     136,8,    /* hit box width and height */
  77.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,    /* Item flags */
  78.     0,    /* each bit mutually-excludes a same-level Item */
  79.     (APTR)&MenuText4,    /* Item render  (IntuiText or Image or NULL) */
  80.     NULL,    /* Select render */
  81.     's',    /* alternate command-key */
  82.     NULL,    /* SubItem list */
  83.     MENUNULL    /* filled in by Intuition for drag selections */
  84. };
  85.  
  86. struct IntuiText MenuText5 = {
  87.     3,1,COMPLEMENT,    /* front and back text pens, drawmode and fill byte */
  88.     0,0,    /* XY origin relative to container TopLeft */
  89.     NULL,    /* font pointer or NULL for default */
  90.     (UBYTE *)"Averages",    /* pointer to text */
  91.     NULL    /* next IntuiText structure */
  92. };
  93.  
  94. struct MenuItem MenuItem3 = {
  95.     &MenuItem4,    /* next MenuItem structure */
  96.     0,18,    /* XY of Item hitbox relative to TopLeft of parent hitbox */
  97.     136,8,    /* hit box width and height */
  98.     ITEMTEXT+COMMSEQ+HIGHCOMP,    /* Item flags */
  99.     0,    /* each bit mutually-excludes a same-level Item */
  100.     (APTR)&MenuText5,    /* Item render  (IntuiText or Image or NULL) */
  101.     NULL,    /* Select render */
  102.     'a',    /* alternate command-key */
  103.     NULL,    /* SubItem list */
  104.     MENUNULL    /* filled in by Intuition for drag selections */
  105. };
  106.  
  107. struct IntuiText MenuText6 = {
  108.     3,1,COMPLEMENT,    /* front and back text pens, drawmode and fill byte */
  109.     0,0,    /* XY origin relative to container TopLeft */
  110.     NULL,    /* font pointer or NULL for default */
  111.     (UBYTE *)"Draw Graph",    /* pointer to text */
  112.     NULL    /* next IntuiText structure */
  113. };
  114.  
  115. struct MenuItem MenuItem2 = {
  116.     &MenuItem3,    /* next MenuItem structure */
  117.     0,9,    /* XY of Item hitbox relative to TopLeft of parent hitbox */
  118.     136,8,    /* hit box width and height */
  119.     ITEMTEXT+COMMSEQ+HIGHCOMP,    /* Item flags */
  120.     0,    /* each bit mutually-excludes a same-level Item */
  121.     (APTR)&MenuText6,    /* Item render  (IntuiText or Image or NULL) */
  122.     NULL,    /* Select render */
  123.     'd',    /* alternate command-key */
  124.     NULL,    /* SubItem list */
  125.     MENUNULL    /* filled in by Intuition for drag selections */
  126. };
  127.  
  128. struct IntuiText MenuText7 = {
  129.     3,1,COMPLEMENT,    /* front and back text pens, drawmode and fill byte */
  130.     0,0,    /* XY origin relative to container TopLeft */
  131.     NULL,    /* font pointer or NULL for default */
  132.     (UBYTE *)"Read File",    /* pointer to text */
  133.     NULL    /* next IntuiText structure */
  134. };
  135.  
  136. struct MenuItem MenuItem1 = {
  137.     &MenuItem2,    /* next MenuItem structure */
  138.     0,0,    /* XY of Item hitbox relative to TopLeft of parent hitbox */
  139.     136,8,    /* hit box width and height */
  140.     ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP,    /* Item flags */
  141.     0,    /* each bit mutually-excludes a same-level Item */
  142.     (APTR)&MenuText7,    /* Item render  (IntuiText or Image or NULL) */
  143.     NULL,    /* Select render */
  144.     'r',    /* alternate command-key */
  145.     NULL,    /* SubItem list */
  146.     MENUNULL    /* filled in by Intuition for drag selections */
  147. };
  148.  
  149. struct Menu Menu1 = {
  150.     NULL,    /* next Menu structure */
  151.     0,0,    /* XY origin of Menu hit box relative to screen TopLeft */
  152.     75,0,    /* Menu hit box width and height */
  153.     MENUENABLED,    /* Menu flags */
  154.     "Project",    /* text of Menu name */
  155.     &MenuItem1    /* MenuItem linked list pointer */
  156. };
  157.  
  158. #define MenuList1 Menu1
  159.